x86: ivybridge: remove unused uma_memory_size
author[email protected] <[email protected]>
Sun, 30 Jul 2017 19:17:26 +0000 (21:17 +0200)
committerBin Meng <[email protected]>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit6461f45b7194b4b345e2f5991c3f75c5ed36f238
tree1211f13fff14d694b844d8048efcf8dfedc60a42
parent724368928c889bf754bea176f3e0aea5c1ec01b9
x86: ivybridge: remove unused uma_memory_size

The value of uma_memory_size depends on an undefined value
from the stack. The value of uma_memory_size is changed but
never used.

So simply remove this superfluous code.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/x86/cpu/ivybridge/sdram.c